import CommonApi from './common'

// 线路信息-公路
class LineHighwayApi extends CommonApi {
    constructor() {
        super()
        this.scope = '/property/highway'
    }

    validNameUnique(data) {
        const path = this.resolvePath('/nameCheck')
        return this.post(path, data)
    }
    validCodeUnique(data) {
        const path = this.resolvePath('/codeCheck')
        return this.post(path, data)
    }
}

export default LineHighwayApi
